<!-- ! 后台模板 -->
<template>
  <div class="adminLayouts">
    <el-container>
      <el-aside width="200px"><slot name="aside">侧边栏</slot> </el-aside>
      <el-container>
        <el-header><slot name="header">头</slot> </el-header>
        <el-main><slot name="main">内容</slot></el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup lang="ts"></script>

<style scoped lang="less">
.adminLayouts {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  // background: #f5f7f9;

  .el-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    height: 5vh;
    line-height: 8vh;
    background: #ffffff;
    // background: red;
    box-shadow: 0 1px 4px #00152914;
  }

  .el-aside {
    height: 100vh;
    background: #001428;
    // background: red;
  }

  .el-main {
    height: 93vh;
    background: #f5f7f9;
  }
}
</style>
